package com.xywl.escort.view.message;

import com.xywl.escort.di.ActivityScoped;
import com.xywl.escort.di.FragmentScoped;

import dagger.Binds;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;

@Module
public abstract class MessageDetailModule {

    @FragmentScoped
    @ContributesAndroidInjector
    abstract MessageDetailActivity messageDetailActivity();

    @ActivityScoped
    @Binds
    abstract MessageDetailContract.Presenter messageDetailPresenter(MessageDetailPresenter presenter);
}
